home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / utility / restor55.zip / RESTORE.TXT < prev    next >
Text File  |  1990-10-16  |  11KB  |  265 lines

  1. RESTORE 5.5
  2. ***********
  3.  
  4. Last updated by Roedy Green on 90/10/16
  5.  
  6. by Dan Wright and Roedy Green
  7. Canadian Mind Products
  8. #168 - 1020 Mainland Street
  9. Vancouver BC
  10. Canada  V6B 2T4
  11. (604) 684-6529
  12.  
  13. NOTE RESTORE 5.5 is NOT a free program.  See REGISTER.TXT on how
  14. to register your copy.
  15.  
  16. HISTORY
  17. *******
  18.  
  19. In the thousands of copies of the earlier "Charware" version of
  20. the program so far distributed I received one card from a decent
  21. Englishman who donated to preserve the stately homes of England.
  22. I received one other from a doctor in Czechoslovakia who donated
  23. $90 to the Red Cross.
  24.  
  25. On the other hand, Rockwell, a major US defense contractor, is
  26. using the program.  They are using it to distribute their
  27. software.  I refused them permission to use it, but they are
  28. using it anyway.  Needless to say, those bastards made no
  29. donation to a charity.
  30.  
  31. This is a pretty poor record.  This version is no longer
  32. Charware; it is Shareware.  It is NOT a free program.
  33.  
  34. RESTORE was written in an emergency in a few days before
  35. Christmas 1986 to allow BBL/Abundance diskettes in
  36. Backup/Restore format to be restored to any machine, but it has
  37. more universal application.  Because of the short time frame of
  38. its development, and because my phone was ringing off the hook
  39. during that time, the orginal version had rough edges.
  40.  
  41. The new version has has been reasonably thoroughly tested with
  42. Periscope under MS-DOS 3.2, and MS-DOS 3.3 and has had cursory
  43. testing under PC-DOS 3.1, PC-DOS 3.2 and PC-DOS 3.3 and had
  44. thorough testing under PC-DOS 2.0 and 2.1.  If you have trouble
  45. with other versions please let me know know so I can repair the
  46. problems.  I give phone support only to people who have
  47. registered, however.
  48.  
  49. TROUBLE SHOOTING
  50. ****************
  51.  
  52. >> DAMAGED HARD DISK
  53.  
  54. Most problems with my version of RESTORE can be traced to a
  55. damaged DOS on hard disk -- usually having the system files from
  56. one version of DOS and Command.Com from another.  To repair a
  57. damaged DOS, boot from the floppy master DOS disk, type:
  58.  
  59. SYS C:
  60. COPY A:COMMAND.COM C:
  61.  
  62. then reboot.
  63.  
  64. >> WATCH OUT FOR THE DEFAULT DIRECTORY
  65.  
  66. Because RESTORE pays attention to the default subirectory,
  67.         RESTORE A: C:*.*
  68. will restore files in the current directory -- NOT the root.
  69.  
  70. To get the root either:
  71.         CD \
  72.         RESTORE A: C:*.*
  73. or
  74.         RESTORE A: C:\*.*
  75.  
  76. If you did this:
  77.     CD \Mydir
  78.     RESTORE A: C:*.*
  79. and if there were no files on the floppies backed up from
  80. \MyDir, then Restore would tell you there were NO files to
  81. restore.  Restore will NOT restore files backup up from the root
  82. into C:\MyDir.   Restore always puts files into the directory
  83. they came from originally.
  84.  
  85. >> WRONG VERSION
  86.  
  87. Another common problem is to accidentally use the original
  88. defective DOS RESTORE rather than this new version.  This
  89. version announces itself with a banner than is distinctly
  90. different from the standard DOS version.  It has little
  91. rainbow-like flashes like this:
  92.  
  93.  ░▒▓█ Canadian Mind Products █▓▒░
  94.  
  95.  
  96. >> SLASH VERSUS BACKSLASH
  97.  
  98. Usually you should use C: and CD \ commands prior to using
  99. RESTORE.  Make sure you have not added or deleted any spaces on
  100. the RESTORE command line.  Make sure the use of \ and / on the
  101. command line is correct: e.g. RESTORE A: C:\*.*/S/P
  102.  
  103. I have received many calls from people who could not tell the
  104. difference between a slash (/) and a backslash (\).  RESTORE
  105. wants the switches on the C: NOT the A:  DO NOT BE INVENTIVE.
  106. RESTORE IS PICKY JUST LIKE THE "REAL" RESTORE.
  107.  
  108. >> TSR TROUBLE
  109.  
  110. If you still have trouble, get rid of any TSR (Terminate and
  111. Stay Resident) programs from your AUTOEXEC.BAT file.
  112. Particularly suspect are programs that speed up hard disk
  113. access.
  114.  
  115. >> RESTORE TO THE SAME DIRECTORY
  116.  
  117. DOS RESTORE cannot restore files to a different directory from
  118. the one they were in when they were backed up.  Neither can CMP
  119. RESTORE.  Sometimes people attempt to type the name of a new
  120. different directory they would like the files to move to, then
  121. wonder why RESTORE says there are no matching files to restore.
  122. RESTORE will let you restore to a different DRIVE that you backed
  123. up from however.  You can backup from C: and restore to D:.
  124.  
  125.  
  126. >> FORGETTING WHAT IS ON A BACKUP SET
  127.  
  128. If you do not remember what the files are called on your backup
  129. diskettes, try this:
  130.  
  131. RESTORE A: C:\*.* /S /P
  132.  
  133. This way RESTORE will attempt to restore every file, and will
  134. prompt you with each  file name so that you can bypass restoring
  135. it if you wish.
  136.  
  137. Another method is to use a hex file browser to examine the
  138. diskettes directly.  Information on the record layouts is in the
  139. source code for RESTORE.ASM.
  140.  
  141.  
  142. SAMPLES OF USE
  143. **************
  144.  
  145.         RESTORE A: C:\MySub\MyFile.Ext
  146.         RESTORE A: C:\MySub\*.*/P/S/Q
  147.         RESTORE A: C:\MySub/P
  148.         RESTORE A: C:\MySub
  149.         RESTORE A: \MySub               -- presumes default drive
  150.         RESTORE A: C:*.*                -- presumes default directory
  151.         RESTORE A: C:\*.BAT/S           -- restores all BAT files in all
  152.                                            subdirectories.
  153. FEATURES
  154. ********
  155.  
  156. CMP RESTORE replaces MS-DOS or PC-DOS RESTORE utility.  This
  157. version of RESTORE was written from scratch without using
  158. reverse engineering techniques to examine the commercial version
  159. code.  All knowledge of how DOS RESTORE works was gleaned by
  160. examining hex dumps of files prepared by Backup.  I hope
  161. Microsoft and IBM are not too angry with me for doing this.  If
  162. I go to jail for violating some bizarre copyright law, I hope
  163. some of you come to visit me in prison.
  164.  
  165. RESTORE is a direct replacement for MS/PC DOS 2.0 through 4.01.
  166. It will restore disks backed up under any version of DOS to any
  167. other version.  Even MS DOS 4.01 backups can be restored to PC
  168. DOS 2.1
  169.  
  170. Microsoft told me then had 22 reported bugs in Backup/Restore.
  171. This version of RESTORE fixes the bugs (real or imagined) that
  172. exist in the commercial versions:
  173.  
  174.         1. Will properly create subdirectories automatically.
  175.            Under certain conditions the commercial versions fail to do so.
  176.         2. Will accept diskettes from versions of DOS that use either / or \
  177.            in the backup preambles.  MS-DOS 3.2 BACKUP puts / instead of \
  178.            in its filenames.  IBM PC-DOS 3.2 RESTORE refuses to understand them.
  179.            Take your pick whose fault it is.
  180.         3. Will read diskettes created MS or PC DOS 2.0 thru 3.2 and
  181.            run under any level of DOS 2.0 thru 3.2.
  182.         4. It will not accidentally let you restore
  183.            IBMBIO.COM IBMDOS.COM MSDOS.SYS or IO.SYS or COMMAND.COM
  184.         5. It does not get stack overflow errors.
  185.         6. It properly handles restoring of system, hidden and read/only files.
  186.         7. It properly considers the default drive and default subdirectory.
  187.         8. It will handle mixed upper/lower case in the command line.
  188.         9. It can read the dates produced by Zenith Backup.
  189.            Zenith RESTORE cannot read the diskettes produced by
  190.            Zenith Backup.  I consider this bug criminal negligence.
  191.  
  192. My RESTORE is not as elaborate as the commercial versions, only
  193. the /S and /P switches are supported.
  194.  
  195.         /P means pause for verification.
  196.         /Q means Quiet -- no advertising banner.
  197.         /S means restore subdirectories as well.
  198.  
  199. This version has a few improvements over the commercial versions:
  200.  
  201.         1. You get more than one chance to get the right diskette inserted.
  202.         2. RESTORE tells you what you have inserted as well as what it wants.
  203.         3. The error messages are more friendly.
  204.         4. The code is much smaller so it loads and executes more quickly.
  205.         5. It asks for additional confirmation before restoring
  206.            read/only, system or hidden files.
  207.  
  208. This version has the following shortcomings that can be blamed mainly
  209. on the format BACKUP uses:
  210.  
  211.         1. If you insert a backup diskette from a different set,
  212.            RESTORE will not notice and will go nuts.
  213.         2. To restore a file on diskette 7 you have
  214.            to feed through diskettes 1 through 6 first, unless
  215.            you know through ESP it is on diskette 7.
  216.            There is no master directory to the diskette set.
  217.         4. Every file on the backup diskettes must be opened and
  218.            examined before we can decide if it should be restored or not.
  219.            This makes restoring only one file in a set agonizingly slow.
  220.         5. If any portion of a file is unreadable or lost, you have lost
  221.            all of the file.
  222.         6. If the directory is not in strict order, things will
  223.            not work.  If someone copied files one by one to a
  224.            different floppy, the directory may not be in the same
  225.            order.  RESTORE must first process the outstanding file
  226.            from a previous floppy.  The last thing it must do is process
  227.            a file continued on another floppy.  It depends on the
  228.            directory being in order for this to work.
  229.  
  230. This version has the following shortcomings that can be blamed
  231. mainly on my laziness:
  232.  
  233.         1. If you abort, the file in the middle of being restored
  234.            will not automatically be deleted.  It will be corrupt.
  235.            At least this lets you recover part of a damaged backup.
  236.            We call this a feature.
  237.         2. It presumes the source drive diskette is removable and the
  238.            target is not.
  239.         3. The error messages use informal language.
  240.            RESTORE has a personality a little like a Jewish mother.
  241.         4. It does not handle all the switches.
  242.            It does not recognize /A:date/B:date/E:time/L:time/M/N
  243.         5. If it gets I/O errors, it gives up rather than trying to
  244.            carry on the best it can.
  245.         6. It has not been tested on all versions of DOS.
  246.         7. It has not been tested with pathologically long
  247.            file names and default directories.
  248.  
  249. SOFTWARE DISTRIBUTION
  250. *********************
  251.  
  252. Restore can also be used to distribute multi-disk software
  253. packages or databases.  In the source code RESTORE.ASM is a
  254. equate switch called INSTALLING that customizes the banner,
  255. error messages and prompts to be more suitable for installing
  256. large software packages.  This way you can prepare your
  257. distribution masters with any version of DOS restore, and rest
  258. assured they will restore to any hardware.  Only registered
  259. users get the source code and hence access to this feature.  If
  260. you combine this technique with PKZip compression, you can
  261. still further cut down the number of diskettes you need to
  262. distribute, and simplify the installation.
  263.  
  264. -30-
  265.